// 移动端适配 1rem = 100px 字体大小0.32rem
(function (document, window) {
  const desigWidth = 750 // 设计稿宽度
  document.documentElement.style.fontSize = document.documentElement.clientWidth / desigWidth * 100 + 'px'
  window.onresize = function () {
    document.documentElement.style.fontSize = document.documentElement.clientWidth / desigWidth * 100 + 'px'
  }
}(document, window))
